package org.mj.im.common.model;

import java.util.List;

public class IMReceiveInfo extends TopicMessage {
    private Integer cmd;
    private IMUserInfo sender;
    private List<IMUserInfo> receivers;
    private boolean sendResult;
    private Object data;

    public IMReceiveInfo() {
    }

    public IMReceiveInfo(Integer cmd, IMUserInfo sender, List<IMUserInfo> receivers, boolean sendResult, Object data) {
        this.cmd = cmd;
        this.sender = sender;
        this.receivers = receivers;
        this.sendResult = sendResult;
        this.data = data;
    }

    public Integer getCmd() {
        return cmd;
    }

    public void setCmd(Integer cmd) {
        this.cmd = cmd;
    }

    public IMUserInfo getSender() {
        return sender;
    }

    public void setSender(IMUserInfo sender) {
        this.sender = sender;
    }

    public List<IMUserInfo> getReceivers() {
        return receivers;
    }

    public void setReceivers(List<IMUserInfo> receivers) {
        this.receivers = receivers;
    }

    public boolean isSendResult() {
        return sendResult;
    }

    public void setSendResult(boolean sendResult) {
        this.sendResult = sendResult;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
